<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>01_js的三种位置</title>
    <script src="01.js">
      console.log('我来测试')
    </script>
</head>
<body>
    <button onclick="alert('请先登录！')">点击即玩</button>
    <button onclick="console.log('别玩了')">点击即玩2</button>

    <h1 id="aaa">我是大标题</h1>

    <script>
      console.log('今天星期二')
      console.log(aaa)
    </script>
</body>
</html>